<template>
	<div class="anchor_toolbar">
		<el-tooltip
		  content="编辑"
		  placement="left"
		>
			<Edit @click="handlerEdit"/>
		</el-tooltip>
		<el-tooltip
		  content="收藏"
		  placement="left"
		>
			<StarFilled />
		</el-tooltip>
		<el-tooltip
		  content="删除"
		  placement="left"
		>
			<Delete />
		</el-tooltip>
	</div>
</template>

<script>
export default {
	name: 'AnchorToolBar',
	props: {
		handlerEdit: {
			type: Function,
			default: function(){}
		}
	}
}
</script>

<style>
.anchor_toolbar{
	width: 40px;
	position: absolute;
	border: 1px solid  #b1b3b8;
	right: 10px;
	box-shadow: 2px 2px 5px #666;
	border-radius: 5px;
	color: #409EFF;
	cursor: pointer;
}
</style>